package com.bridge.applets.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @program: card-voucher
 * @description:
 * @author: 陈迪
 * @create: 2022/09/30 14:08
 */
@Configuration
public class LoginConfig implements WebMvcConfigurer {


    @Value("#{'${server.excludePathPatterns:}'.split(',')}")
    String[] excludePathPatterns;

    @Override
    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(new UserInterface())
//                .addPathPatterns("/**")
//                .excludePathPatterns(excludePathPatterns);
    }

}
